{{--<img style="width: 80px;height: 80px;" src="{{ $customer->avatar }}">--}}
{{--{{ $customer->name }}--}}
{{--{{ $customer->provincename->name }}--}}
{{--{{ $customer->cityname->name }}--}}
{{--{{ $customer->machine_count}}--}}
{{--{{ $customer->all_points-$customer->use_points }}--}}

{{--<a href="{{ route('mounts.index') }}"  >我的净水器</a>--}}
{{--<a href="{{ route('services.index') }}"  >我的工单</a>--}}
{{--<a href="{{ route('customers.orders') }}"  >我的订单</a>--}}
{{--<a href="{{ route('customers.filters') }}"  >我的滤芯</a>--}}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>雷谛科技-用户中心</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" type="text/css" href="{{ URL::asset('newstyle/css/drink.css') }}" />
</head>
<body>

<header class="header">
    <a href="{{ route('customers.center') }}">
        <img src="{{ URL::asset('newstyle/images/icon4.png') }}" alt="" width="19" class="edit">
    </a>
    <div class="user">
        <a href="{{ route('customers.center') }}" class="circle">
            <img src="{{ $customer->avatar }}" alt="" width="60">
        </a>
        <span>{{ $customer->name }}</span>
    </div>
</header>
<section id="section5">
    <p>可用积分<i>{{ $customer->all_points-$customer->use_points }}</i></p>
    <p>累计积分<i>{{ $customer->all_points }}</i></p>
</section>
<section id="section6">
    <ul>
        <li>
            <a href="{{ route('mounts.index') }}">
                <img src="{{ URL::asset('newstyle/images/icon5.png') }}" alt="" width="33">
                <p>净水计划信息</p>
                <span>我家的净水机</span>
            </a>
        </li>
        <li>
            <a href="{{ route('services.index',array('type'=>'final')) }}">
                <img src="{{ URL::asset('newstyle/images/icon6.png') }}" alt="" width="33">
                <p>净水计划执行</p>
                <span>已完成的工单</span>
            </a>
        </li>
        <li>
            <a href="{{ route('services.index') }}">
                <img src="{{ URL::asset('newstyle/images/icon7.png') }}" alt="" width="33">
                <p>工单管理</p>
                <span>我要下单</span>
            </a>
        </li>
        <li>
            <a href="{{ route('customers.pointrecords') }}">
                <img src="{{ URL::asset('newstyle/images/icon8.png') }}" alt="" width='33'>
                <p>积分详情</p>
                <span>{{ $customer->all_points-$customer->use_points }}可用积分</span>
            </a>
        </li>
        <li>
            <a href="{{ route('commodities.index') }}">
                <img src="{{ URL::asset('newstyle/images/icon9.png') }}" alt="" width="33">
                <p>积分商城</p>
                <span>用积分购物</span>
            </a>
        </li>
        <li>
            <a href="{{ route('buyrecords.index') }}">
                <img src="{{ URL::asset('newstyle/images/icon10.png') }}" alt="" width="33">
                <p>商城订单</p>
                <span>查看商城订单</span>
            </a>
        </li>
        <li>
            <a href="{{ route('mounts.pictures') }}">
                <img src="{{ URL::asset('newstyle/images/icon11.png') }}" alt="" width="33">
                <p>我的装机秀</p>
                <span>分享赚积分</span>
            </a>
        </li>
        <li>
            <a href="{{ route('mounts.fujin') }}">
                <img src="{{ URL::asset('newstyle/images/icon12.png') }}" alt="" width="33">
                <p>专属邀请码</p>
                <span>{{ $customer->invite }}</span>
            </a>
        </li>
        <li>
            <a href="{{ route('mounts.shouhou') }}">
                <img src="{{ URL::asset('newstyle/images/icon13.png') }}" alt="" width="33">
                <p>售后无忧</p>
                <span>售后有保障</span>
            </a>
        </li>
    </ul>
</section>
</body>
</html>
